package test;

import java.io.File;
import java.io.IOException;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Semaphore;
import java.util.concurrent.locks.AbstractQueuedSynchronizer;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;

/**
 * Hello world!
 *
 */
public class App 

{
    public static void main( String[] args )
    {
    	File file  = new File("D:\\aaa\\asdfasdf");
    	file.mkdirs();
    	
    	try {
    		new File("D:\\aaa\\asdfasdf\\1.html").createNewFile();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
    	
    	//EventListener
    	
    	
    	//EventObject
    	
    	/*************************************   AQS 锁  *******************************************/
		/*
		 * ReentrantReadWriteLock rwLock = new ReentrantReadWriteLock();
		 * 
		 * 
		 * ConcurrentHashMap<String, String> chm = new ConcurrentHashMap<String,
		 * String>();
		 * 
		 * chm.put("1", "1"); chm.get("1"); //AbstractQueuedSynchronized
		 * AbstractQueuedSynchronizer aqs = null; //sun.awt.UNIXToolkit. CountDownLatch
		 * cdl = new CountDownLatch(5); ReentrantLock rt = new ReentrantLock();
		 * Semaphore sp = new Semaphore(2); //AbstractQueuedSynchronized
		 * System.out.println( "Hello World!" );
		 */
        
        /*************************************   AQS 锁  *******************************************/
    }
}
